Compile using command prompt

Week 2 - Arrays, Compiling, Command Line Argument, Strings

Created: 2022-05-16
Tags: #permanent


gcc -Wall source_code.c –o output_name.exe
^ Switches explained
-Wall to enable compiler's warning messages
-o to specify the output name

clang -o <output file> <input_file.c>

References